Skip to content

Fix: Remove e2e comments and fix flaky create-expert test#624

Merged
FL4TLiN3 merged 1 commit intomainfrom
fix/e2e-cleanup-and-flaky-test
Feb 25, 2026
Merged

Fix: Remove e2e comments and fix flaky create-expert test#624
FL4TLiN3 merged 1 commit intomainfrom
fix/e2e-cleanup-and-flaky-test

Conversation

@FL4TLiN3
Copy link
Contributor

Summary

  • Remove all comments (JSDoc, inline, section dividers) from all 22 e2e files to eliminate hallucination sources for AI agents
  • Add retry loop (up to 3 attempts) for the non-base MCP skill assertion in create-expert test to handle LLM non-determinism
  • Fix biome warnings in minimal-mcp-server.mjs (missing node: protocol, unused variable)

Test plan

  • bun test e2e/ — 74 tests pass
  • biome check e2e/ — 0 warnings, 0 errors

… create-expert test

Remove JSDoc blocks, inline comments, and section dividers from all e2e
files (test files + lib files + fixtures) to eliminate hallucination
sources. Fix biome warnings in minimal-mcp-server.mjs (node: protocol,
unused variable).

Add retry loop (up to 3 attempts) for the non-base MCP skill assertion
in create-expert test to handle LLM non-determinism when the model
doesn't forward skill-report.md through the delegation chain.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@FL4TLiN3 FL4TLiN3 merged commit f2d7331 into main Feb 25, 2026
11 checks passed
@FL4TLiN3 FL4TLiN3 deleted the fix/e2e-cleanup-and-flaky-test branch February 25, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant